﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace HQPad.Models
{
    /// <summary>
    /// The data model used when creating a battleboard.
    /// </summary>
    public class BattleboardModel
    {
        public string CharacterName { get; set; }
        public string CharacterRace { get; set; }
        public string CharacterClass { get; set; }
        public string CharacterRank { get; set; }
        public List<ACRecord> ArmourClasses { get; set; }
        public List<string> Armours { get; set; }
        public bool HasMagic { get; set; }
        public List<SpellLevelSlot> Spells { get; set; }
        public bool HasFocus { get; set; }
        public bool CanMnenomic { get; set; }
        public int TotalPower { get; set; }
        public int TalismanPower { get; set; }
        public bool HasTalisman { get; set; }
        public bool CanMeditate { get; set; }
        public List<ItemBase> Items { get; set; }
        public LifeRecord Life { get; set; }

        public BattleboardModel()
        {
            HasFocus = false;
            HasMagic = false;
            CanMnenomic = false;
        }
    }

    /// <summary>
    /// The number of slots available for a spell level.
    /// </summary>
    public class SpellLevelSlot
    {
        public int Level { get; set; }
        public int Spells { get; set; }
    }
}